TrackingOptOutConfig

@Serializable(with = TrackingOptOutConfigSerializer::class)
class TrackingOptOutConfig(val isCarrierTrackingEnabled: Boolean, val isDeviceAttributeTrackingEnabled: Boolean, val optOutActivities: Set<Class<*>>?, val screenNameTrackingConfig: ScreenNameTrackingConfig)

Constructors

Link copied to clipboard
constructor(isCarrierTrackingEnabled: Boolean, isDeviceAttributeTrackingEnabled: Boolean)
constructor(isCarrierTrackingEnabled: Boolean, isDeviceAttributeTrackingEnabled: Boolean, optOutActivities: Set<Class<*>>?)
constructor(isCarrierTrackingEnabled: Boolean, isDeviceAttributeTrackingEnabled: Boolean, optOutActivities: Set<Class<*>>?, screenNameTrackingConfig: ScreenNameTrackingConfig)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

If false the Mobile Carrier name would not be tracked by the SDK, default value true.

Link copied to clipboard

If false device attributes like Product name, Model Name, Height Width, etc are not tracked, the default value is true.

Link copied to clipboard

Set of Activity Class objects to be excluded from tracking, default value empty set.

Link copied to clipboard

ScreenName Tracking Configuration

Functions

Link copied to clipboard
fun addActivities(clazzSet: Set<Class<*>>)

Add Set of Activity Class to the opt-out list.

Link copied to clipboard
fun addActivity(clazz: Class<*>)

Add Activity Class to the opt-out list.

Link copied to clipboard
Link copied to clipboard
open override fun toString(): String